const config = require('config'); module.exports = function() { Iif (!config.get('jwtPrivateKey')) { throw new Error('FATAL ERROR: jwtPrivateKey is not defined.'); } }